import * as UserActions from './actions';

export default ( state = UserActions.initState, action ) => {
	switch ( action.type ) {
		case UserActions.SET_USER:
			return { ...action.user };
		default:
			return state;
	}
};


